/**
 * CircleManager.java
 * com.jamin.aabill.manager
 *
 * Function： TODO 
 *
 *   ver     date      		author
 * ──────────────────────────────────
 *   		 2012-9-19 		wangjieming
 *
 * Copyright (c) 2012, TNT All Rights Reserved.
 */

package com.jamin.aabill.manager;

import java.util.List;

import com.jamin.aabill.dao.BillAndDetailDao;
import com.jamin.aabill.dao.CircleDao;
import com.jamin.aabill.data.Bill;

/**
 * ClassName:CircleManager
 *
 * @author   wangjieming
 * @version  1.0
 * @since    v1.0
 * @Date	 2012-9-19 下午2:23:50 
 */
public class CircleManager {


	private static final String TAG = "CircleManager=======wangjieming";



	public CircleManager(){

	}


	public void deleteCircle(long circleId){
		CircleDao mCircleDao = new CircleDao();
		BillManager mBillManager = new BillManager();
		//删除账单
		List<Bill> list = mBillManager.getBillList(circleId);
		mCircleDao.deleteCircle(circleId , list);
	}





}

